home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_222 / plplot / src / source.zoo / plcol.c < prev    next >
C/C++ Source or Header  |  1989-05-15  |  334b  |  19 lines

  1. /* Sets line colour */
  2.  
  3. #include "plplot.h"
  4.  
  5. void plcol(colour)
  6. int colour;
  7. {
  8.       int font,col;
  9.  
  10.       int level;
  11.       glev(&level);
  12.       if (level < 1)  fatal("Please call PLSTAR before calling PLCOL.");
  13.       if (colour < 0)  fatal("Invalid colour in PLCOL.");
  14.  
  15.       gatt(&font,&col);
  16.       satt(font,colour);
  17.       grcol();
  18. }
  19.